package com.mezz.bones.user.application.executor.cmd;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.mezz.bones.user.application.domain.cmd.SysMenuCreateCmd;
import com.mezz.bones.user.application.domain.cmd.SysMenuDeleteCmd;
import com.mezz.bones.user.application.domain.cmd.SysMenuUpdateCmd;
import com.mezz.bones.user.application.domain.qry.SysMenuPageForAppQry;
import com.mezz.bones.user.application.domain.res.SysMenuDetailForAppResponse;
import com.mezz.bones.user.application.domain.res.SysMenuPageForAppResponse;

public interface ISysMenuExecutor {
    void execSysMenuCreateCmd(SysMenuCreateCmd cmd);

    void execSysMenuUpdateCmd(SysMenuUpdateCmd cmd);
    
    void execSysMenuDeleteCmd(SysMenuDeleteCmd cmd);

    SysMenuDetailForAppResponse detailForApp(String id);

    Page<SysMenuPageForAppResponse> pageForApp(SysMenuPageForAppQry qry);
}